
<?php

define('ABSPATH', dirname(__FILE__) . '/');

require_once ABSPATH.'/config/settings.php';
require_once ABSPATH.'/config/blockedIP.php';


if ( ENABLE_IPCHECK==true && (isRemoteHostBlocked($_SERVER['REMOTE_ADDR'])) == true ){
		  exit( "<h2>".gettext("Sorry your IP is listed under our blocked IP list, Please contact us for more info and to unblock IP")."</h2>");
}
require_once ABSPATH.'/includes/clientInclude.php';
require_once ABSPATH.'/content/content.php';
require_once 'includes/dbinteract.php';
require_once ABSPATH.'/includes/logger.php';

pic_HTMLHead();
pic_header();
pic_content();
pic_loadModules();
pic_footer();


/*	$loguserdeat=new Logger('./Logger.txt');
	$loguserdeat->setremoteIP($_SERVER['REMOTE_ADDR']);
	$loguserdeat->setextraInfo('Some Extra information');
	$loguserdeat->setnoofPhotoscopied(5);
	$loguserdeat->setsourceLoginID('getchandan');
	$loguserdeat->setsourceserviceId(1);
	$loguserdeat->settargetLoginID('getPicasa');
	$loguserdeat->settargetServiceId(2);
	sleep(3);
	$loguserdeat->write();
*/

//phpinfo();
?>